package com.my.structuraltype.adapter;

public class Test {
	public static void main(String[] args) {
		PS2 mouse = new Mouse();// one mouse with PS2
		
		Computer computer = new Computer();// client only recognize USB
		
		USB usb = new PS2ToUSB(mouse);// use adapter to make a change
		
		computer.connect(usb);
	}
}
